const mergeOf = (data, isSame)=>{
  let lastRow = undefined;
  for (let i=0; i<data.length; i++){
    let row = data[i];
    row._num = 0;
    if (lastRow==undefined || !isSame(lastRow, row)){
      lastRow = row;
    }
    lastRow._num++;
  }
};
export { mergeOf }